package edu.sctu.practice.class02.qiuyangyang.text08;

/**
 * Created by Administrator on 2015/10/11 0011.
 */
public class Truck extends Vehicles {
    public Truck(String brand, String color) {
        super(brand, color);
    }

    float load;

    public Truck(String brand, String color, float load) {
        super(brand, color);
        this.load = load;
    }

    public void showTruck() {
        System.out.println(brand);
        System.out.println(color);
        System.out.println(load);

    }
}
